package edu.zut.cs.software.estateagent.admin.service.impl;

import javax.transaction.Transactional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import edu.zut.cs.software.base.service.impl.GenericManagerImpl;
import edu.zut.cs.software.estateagent.admin.dao.SalemanDao;
import edu.zut.cs.software.estateagent.admin.domain.Saleman;
import edu.zut.cs.software.estateagent.admin.service.SalemanManager;

@Component
@Transactional
public class SalemanManagerImpl extends GenericManagerImpl<Saleman, Long> implements SalemanManager {

	SalemanDao salemanDao;

    @Override
    public Saleman findbyUsername(String username) {
        // TODO Auto-generated method stub
        return null;
    }

    @Autowired
    public void setSalemanDao(SalemanDao salemanDao) {
        this.salemanDao = salemanDao;
        this.dao = this.salemanDao;
    }

}